.personnel-list-container {
  padding: 20px 0;
}

.page-header {
  margin-bottom: 25px;
}

.page-header h1 {
  color: var(--primary-color);
}

/* 筛选器样式 */
.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  background-color: white;
  padding: 15px;
  border-radius: 8px;
  box-shadow: var(--box-shadow);
  margin-bottom: 20px;
  gap: 15px;
}

.search-form {
  flex: 1;
  min-width: 200px;
}

.search-input {
  display: flex;
  position: relative;
}

.search-input input {
  padding-right: 40px;
}

.search-button {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  background: none;
  border: none;
  color: var(--secondary-color);
  padding: 0 12px;
}

.search-button:hover {
  color: var(--primary-color);
  background: none;
}

.filter-options {
  display: flex;
  gap: 15px;
  align-items: center;
  flex-wrap: wrap;
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.filter-group label {
  white-space: nowrap;
  color: var(--light-text-color);
}

.filter-group select {
  min-width: 150px;
}

.refresh-button {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background-color: var(--secondary-color);
}

.refresh-button:hover {
  background-color: var(--primary-color);
}

/* 表格样式 */
.personnel-table-container {
  background-color: white;
  border-radius: 8px;
  box-shadow: var(--box-shadow);
  overflow: hidden;
}

.personnel-table {
  width: 100%;
  border-collapse: collapse;
}

.personnel-table th,
.personnel-table td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.personnel-table th {
  background-color: rgba(0, 0, 0, 0.02);
  font-weight: 500;
}

.personnel-table tr:hover {
  background-color: rgba(0, 0, 0, 0.02);
}

.sortable {
  cursor: pointer;
  position: relative;
}

.sortable:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.active-sort {
  color: var(--secondary-color);
}

.sort-indicator {
  margin-left: 5px;
}

.image-cell {
  width: 60px;
}

.personnel-image {
  width: 50px;
  height: 50px;
  border-radius: 4px;
  object-fit: cover;
}

.image-placeholder {
  width: 50px;
  height: 50px;
  border-radius: 4px;
  background-color: #f1f1f1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: var(--light-text-color);
}

.view-button {
  padding: 5px 10px;
  background-color: var(--secondary-color);
  color: white;
  border-radius: 4px;
  font-size: 12px;
  text-decoration: none;
  display: inline-block;
}

.view-button:hover {
  background-color: var(--primary-color);
  color: white;
}

/* 分页 */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 15px;
  gap: 10px;
}

.page-button {
  background-color: white;
  border: 1px solid var(--border-color);
  color: var(--text-color);
  padding: 5px 10px;
  font-size: 14px;
}

.page-button:hover:not(:disabled) {
  background-color: var(--secondary-color);
  color: white;
}

.page-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background-color: #f1f1f1;
}

.page-info {
  margin: 0 10px;
}

.no-data {
  text-align: center;
  padding: 50px 20px;
  background-color: white;
  border-radius: 8px;
  box-shadow: var(--box-shadow);
  color: var(--light-text-color);
}

@media (max-width: 768px) {
  .filters {
    flex-direction: column;
  }
  
  .filter-options {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .filter-group {
    width: 100%;
  }
  
  .filter-group select {
    width: 100%;
  }
  
  .personnel-table th:nth-child(3),
  .personnel-table td:nth-child(3),
  .personnel-table th:nth-child(6),
  .personnel-table td:nth-child(6) {
    display: none;
  }
} 